package com.example.pojo.orm;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import java.io.Serializable;

@ApiModel("季鑫利:商品库存实体")
public class ProductInventory implements Serializable {
    @ApiModelProperty("商品Id")
    private Integer id;
    @ApiModelProperty("商品型号")
    private String modelNumber;
    @ApiModelProperty("商品类别id")
    private Integer typeId;
    @ApiModelProperty("商品类别名称")
    private String typeName;
    @ApiModelProperty("商品描述")
    private String describe;
    @ApiModelProperty("库存量")
    private Long surplus;
    @ApiModelProperty("单位")
    private Integer unit;
    @ApiModelProperty("删除标志;false-删除;true-未删除")
    private boolean delTag;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getModelNumber() {
        return modelNumber;
    }

    public void setModelNumber(String modelNumber) {
        this.modelNumber = modelNumber;
    }

    public Integer getTypeId() {
        return typeId;
    }

    public void setTypeId(Integer typeId) {
        this.typeId = typeId;
    }

    public String getTypeName() {
        return typeName;
    }

    public void setTypeName(String typeName) {
        this.typeName = typeName;
    }

    public String getDescribe() {
        return describe;
    }

    public void setDescribe(String describe) {
        this.describe = describe;
    }

    public Long getSurplus() {
        return surplus;
    }

    public void setSurplus(Long surplus) {
        this.surplus = surplus;
    }

    public Integer getUnit() {
        return unit;
    }

    public void setUnit(Integer unit) {
        this.unit = unit;
    }

    public boolean isDelTag() {
        return delTag;
    }

    public void setDelTag(boolean delTag) {
        this.delTag = delTag;
    }

    @Override
    public String toString() {
        return "ProductInventory{" +
                "id=" + id +
                ", modelNumber='" + modelNumber + '\'' +
                ", typeId=" + typeId +
                ", typeName='" + typeName + '\'' +
                ", describe='" + describe + '\'' +
                ", surplus=" + surplus +
                ", unit=" + unit +
                ", delTag=" + delTag +
                '}';
    }
}
